const { ipcMain , shell } = require('electron')

function openShell() {
    ipcMain.handle('on-open-shell', (e, url) => {
        // 打开指定的url
        shell.openExternal(url)
    })
};

module.exports = openShell